package com.thunder.reader;

public class FeedSettings {
    public static final String GLOBAL_TAG = "ThunderFox";
    
    private static int mConnectionTimeout = 60 * 1000; // in miliseconds
    private static String mDefaultEncoding = "utf-8";
    private static int mSummaryLimit = 200;
    private static String mQQServer = "http://mrss.3g.qq.com:8081/";
    private static String mSharedPreferences = "thunderfox";
    private static String mIPhoneUserAgent = "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) " +
    		"AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7";
    
    public static final String PROPERTY_USER_AGENT = "User-Agent";
    public static final String USER_AGENT = "Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0";
    private static final String mDefaultUserAgent = "Mozilla/5.0 (Linux; U; Android 2.3.1; en-us) " +
		"AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1";
    
    private static final int ARTICLE_LIMIT_OF_FEED = 25;
    
    // Nobody should instantiate this
    private FeedSettings() {}
    
    public static int getConnectionTimeout() {
        return mConnectionTimeout;
    }
    
    public static String getDefaultEncoding() {
        return mDefaultEncoding;
    }
    
    public static int getSummaryLimit() {
        return mSummaryLimit;
    }
    
    public static String getQQServer() {
        return mQQServer;
    }
    
    public static String getSharedPreferencesName() {
        return mSharedPreferences;
    }
    
    public static String getUserAgent() {
        return mDefaultUserAgent;
    }
    
    public static int getArticleLimit() {
        return ARTICLE_LIMIT_OF_FEED;
    }
}